import requests from "@/api/request";

//查询账户余额
export function balance(id){
    return requests({
        url: '/virtual_account/'+id,
        method: 'get'
    })
}

//提现
export function withdrawal(data){
    return requests({
        url: '/user/withdrawal',
        method: 'post',
        data:data,
    })
}

//充值
export function rechargeMoney(data){
    return requests({
        url: '/recharge/rechargeDo',
        method: 'post',
        data: data
    })
}
